﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="gaInfo_edit" ValidateRequest="false"%>

<%@ Register src="../news/NewsTypeSelect.ascx" tagname="NewsTypeSelect" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../edit/jquery/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../edit/xheditor-zh-cn.src.js"></script>
    <link href="../css/jquery-ui-1.7.3.custom.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("#txtTitle").xheditor();
            $("#txtContent").xheditor({ upLinkUrl: "/upload/upload.aspx", upLinkExt: "zip,rar,txt", upImgUrl: "/upload/upload.aspx", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "/upload/upload.aspx", upFlashExt: "swf", upMediaUrl: "/upload/upload.aspx", upMediaExt: "wmv,avi,wma,mp3,mid", shortcuts: { 'ctrl+enter': submitForm} })
            $("#btnBack").click(function () {
                document.location = "default.aspx";
            })
        })
        function submitForm() { $("frmDemo").submit(); }

    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div class="button_bar">
        <input type="button" class="common_button" id="btnBack" value="返回" />
        <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" OnClick="btnSave_Click" />
    </div>
    <div>
        <table class="query_form_table">
            <tr>
                <th>
                    编号:
                </th>
                <td>
                    <asp:TextBox ID="txtNum" runat="server" ReadOnly="true"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    标题：
                </th>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" TextMode="MultiLine" Height="80px" Width="80%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    新闻内容：
                </th>
                <td>
                    <asp:TextBox ID="txtContent" runat="server" Width="80%" Height="300px" TextMode="MultiLine" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
